package com.huashi.dealer.modular.business.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huashi.dealer.commonEntity.GoodsSpecRel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品规格关系 Mapper接口
 */
@Mapper
public interface GoodsSpecRelMapper extends BaseMapper<GoodsSpecRel> {

    /**
     * 根据商品ID查询规格关系列表
     */
    List<GoodsSpecRel> selectByGoodsId(@Param("goodsId") Long goodsId);
}
